﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLine.Common;

namespace ZoneLine.Models
{
    public class PieceIndexModel
    {
        [Column(IsIdentity = true)]
        public long Id { get; set; }
        /// <summary>
        /// 当前天是2020年到现在的第多少天
        /// </summary>
        public int DayIndex { get; set; }

        /// <summary>
        /// 当前工件型号
        /// </summary>
        [DgColumnAttr("工件型号")]
        public ModelEnum Model { get; set; }

        /// <summary>
        /// 使用的左右工位
        /// </summary>
        [DgColumnAttr("工作左右")]
        public WorkDirectionEnum StationLF { get; set; }

        /// <summary>
        /// 左右，左为1，右为2
        /// </summary>
        [DgColumnAttr("使用左右工站")]
        public WorkDirectionEnum LF { get; set; }

        [DgColumnAttr("生产数量")]
        public int Index { get; set; }
    }
}
